<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface ArticlesAuthorDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return ArticlesAuthor 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param articlesAuthor primary key
 	 */
	public function delete($author_id);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param ArticlesAuthor articlesAuthor
 	 */
	public function insert($articlesAuthor);
	
	/**
 	 * Update record in table
 	 *
 	 * @param ArticlesAuthor articlesAuthor
 	 */
	public function update($articlesAuthor);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByTitle($value);

	public function queryByFirstName($value);

	public function queryByLastName($value);

	public function queryByMiddleName($value);

	public function queryByAddress1($value);

	public function queryByAddress2($value);

	public function queryByCity($value);

	public function queryByState($value);

	public function queryByCountry($value);

	public function queryByZip($value);

	public function queryByPhone1($value);

	public function queryByPhone2($value);

	public function queryByEmail($value);

	public function queryByDescription($value);

	public function queryByCreatedBy($value);

	public function queryByCreatedDate($value);

	public function queryByUpdatedDate($value);

	public function queryByStatus($value);


	public function deleteByTitle($value);

	public function deleteByFirstName($value);

	public function deleteByLastName($value);

	public function deleteByMiddleName($value);

	public function deleteByAddress1($value);

	public function deleteByAddress2($value);

	public function deleteByCity($value);

	public function deleteByState($value);

	public function deleteByCountry($value);

	public function deleteByZip($value);

	public function deleteByPhone1($value);

	public function deleteByPhone2($value);

	public function deleteByEmail($value);

	public function deleteByDescription($value);

	public function deleteByCreatedBy($value);

	public function deleteByCreatedDate($value);

	public function deleteByUpdatedDate($value);

	public function deleteByStatus($value);


}
?>